package com.yc.mysql.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SpMovie implements java.io.Serializable{
    private Integer id;
    private String name;
    private Integer length;
    private String type;
    private Date beginTime;
    private Date endTime;
    private Boolean is3d;
    private String intro;
    private String image;

    // 多对多
    List<SpHall> halls;
}
